package oop.ex2.enums;

import java.util.regex.Pattern;

public enum CommentTypes {
	LINE_COMMENT("(/\\*.*\\*/|//.*)"),
	MULTY_LINES_COMMENT_BEGIN("\\/\\*+.*"),
	MULTY_LINES_COMMENT_END(".*\\*\\/");
	
	
	private Pattern patt;
	
	private CommentTypes(String expression){
		patt=Pattern.compile(expression);
	}
	
	public Pattern getPattern(){
		return patt;
	}
}
